﻿using System.Web;
using System.Web.Optimization;

namespace Charades.Web
{
	public class BundleConfig
	{
		// For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
		public static void RegisterBundles(BundleCollection bundles)
		{
			bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
						"~/Scripts/jquery-{version}.js"));

			bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
						"~/Scripts/jquery.validate*"));

			// Use the development version of Modernizr to develop with and learn from. Then, when you're
			// ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
			bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
						"~/Scripts/modernizr-*",
						"~/Scripts/bowser.*"));

			bundles.Add(new ScriptBundle("~/bundles/uikit").Include(
						"~/Scripts/uikit.*",
						"~/Scripts/addons/notify.*"));

			bundles.Add(new ScriptBundle("~/bundles/signalr").Include(
						"~/Scripts/jquery.signalR*"));

			bundles.Add(new ScriptBundle("~/bundles/script").Include(
						"~/Scripts/TweenMax.min.js",
						"~/Scripts/bjqs.min.js",
						"~/Scripts/rangeinput.js",
						"~/Scripts/painter.js",
						"~/Scripts/colpick.js",
						"~/Scripts/social-likes.min.js"));

			bundles.Add(new ScriptBundle("~/bundles/app").Include(
						"~/Scripts/app/app.js",
						"~/Scripts/ajax.*"));

			bundles.Add(new StyleBundle("~/Content/uikit").Include(
						"~/Content/normolize.css",
						"~/Content/uikit.almost-flat.*",
						"~/Content/addons/uikit.almost-flat.addons.*",
						"~/Content/site.css"));

			bundles.Add(new StyleBundle("~/Content/css").Include(
						"~/Content/bjqs.css",
						"~/Content/colpick.css",
						"~/Content/social-likes.css"));
		}
	}
}
